package com.hj.exception;

//系统自定义的异常类,针对预期的异常需要在程序中抛出
public class CustomException extends Exception {

	//异常信息
	public String message;
	public CustomException(String message){
		super(message);
		this.message=message;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
}
